package com.attilax.ommani;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.attilax.time.timeUtil;

/**
 * com.attilax.ommani.Ommanipadmehum
 * @author Administrator
 *
 */
public class Ommanipadmehum {
	public static final Logger logger = LoggerFactory.getLogger(" Ommanipadmehum");
 
	public static void main(String[] args) {
		int sleep_mill= Integer.parseInt( args[0].trim());
		System.out.println(logger);
		 while(true)
		 {
		String s = "om mani padme hum  "+timeUtil.now_with_millsec();
		System.out.println(s);
		logger.info(s);
		try {
			Thread.sleep(sleep_mill);
		} catch (InterruptedException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		 }
		
	}

}
